@import "./vars.scss";

.contact-container {
  position: relative;
  overflow: hidden;
  .info-wrapper {
    margin-top: px2vw(255);
    @include display(flex);
    .contact-left {
      width: 50%;
      @include flex-basis(50%);
      padding-right: px2per2(144, 1430);
      .contact-dt {
        font-size: 28px;
        padding-bottom: 27px;
      }
      .contact-dd {
        margin-top: 36px;
        border-left: 1px solid $border4;
        padding-left: 34px;
        list-style: 1.5;
        color: $color23;
      }
      .contact-p {
        font-size: 15px;
        word-break: break-all;
      }
      .email-link {
        color: $active;
        text-decoration: underline;
      }
      .contact-label {
        @include display(flex);
        @include align-items(center);
        color: $color14;
        margin-bottom: 10px;
      }
      .iconfont {
        color: $color22;
        margin-right: 10px;
      }
    }
    .contact-right {
      width: 50%;
      @include flex-basis(50%);
      overflow: hidden;
      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 8px;
      }
    }
  }

  .contact_form_wrapper {
    position: relative;
    overflow: hidden;
    padding-top: px2vw(135);
    margin-bottom: px2vw(104);
  }
}

@media screen and (max-width: 768px) {
  .contact-container {
    padding: 0 15px;
  }
  .contact-container .info-wrapper {
    margin-top: 30px;
    @include flex-direction(column);
  }
  .contact-container .info-wrapper .contact-left .contact-dt {
    font-size: 30px;
    overflow: unset;
    text-overflow: unset;
    white-space: pre-wrap;
  }
  .contact-container .info-wrapper .contact-left .contact-dd {
    margin-top: 15px;
    padding-left: 15px;
  }
  .contact-container .info-wrapper .contact-left .contact-p {
    line-height: 1.5;
    font-size: 14px;
  }
  .contact-container .info-wrapper .contact-left {
    width: 100%;
    padding-right: 0;
    @include flex-basis(unset);
  }
  .contact-container .info-wrapper .contact-right {
    width: 100%;
    @include flex-basis(unset);
    margin-top: 15px;
  }
  .index_form_wrapper .index_form_p {
    margin-top: 15px;
    line-height: 1.5;
    padding: 0;
  }
}
